Convert Factor to Dummy Indicator Variables for Every Level in R (Example) | model.matrix Function